from typing import Union, Tuple, List, Optional

_size_T = int
_size_1_t = Union[_size_T, Tuple[_size_T]]
_size_2_t = Union[_size_T, Tuple[_size_T, _size_T]]
_size_3_t = Union[_size_T, Tuple[_size_T, _size_T, _size_T]]
_size_any_t = Union[_size_1_t, _size_2_t, _size_3_t]